package com.isoftstone.springcloud.framework.controller;


import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController2 {

    @ApiOperation(value = "测试接口2", notes = "构建项目用的测试接口2")

    @RequestMapping(value = "user/{id}",method = RequestMethod.GET)
    public String getJsonTest(@ApiParam(name = "idd", value = "用户id",required = true) String id){

        return id;

    }


}
